package com.suray.wcs.service.system.service;

import com.suray.basic.wcs.plc.pojo.oper.lifter.LifterOper;
import com.suray.basic.wcs.plc.pojo.oper.lifter.ForkLifterOper;
import com.suray.wcs.service.pojo.HandHoist;

import java.io.IOException;

public interface HoisterOperService {

    void setHoistShuttleArrived(LifterOper lifterOper) throws IOException;

    void hoistTaskClear(LifterOper lifterOper) throws IOException;

    HandHoist getHoistInfo(LifterOper lifterOper);

    HandHoist getForkHoisterInfo(ForkLifterOper forkLifterOper);

    void hoistShuttleOuted(LifterOper deviceOper) throws IOException;

    void hoistCurrentErrorClear(LifterOper deviceOper) throws IOException;

    boolean hoistLock(Integer password, LifterOper deviceOper) throws IOException;

    boolean hoistUnlock(Integer password, LifterOper deviceOper) throws IOException;

    void hoistFinalTaskNoClear(LifterOper lifterOper) throws IOException;

}
